//Source file: D:\\aaa\\com\\ce\\pms\\renovation\\model\\RenovateViolationDO.java

package com.ce.pms.renovation.model;

import java.util.HashSet;
import java.util.Set;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.OneToMany;

/**
 * 监管期违规
 */
@Entity
@DiscriminatorValue("1")
public class RenovateViolationDO extends AbstractViolationDO {

	/**
	 *
	 */
	private static final long serialVersionUID = -4739940513374154611L;

	/**
	 * 整改集合
	 */
	@OneToMany(mappedBy = "renovateViolationDO")
	private Set<ReformDO> reforms = new HashSet<ReformDO>();

	/**
	 * 整改状态 001-未整改， 002-不通过， 003-通过
	 */
	@Column(name = "STATE", length = 3)
	private String state;


	/**
	 * 无参构造子
	 *
	 * @roseuid 493F1EA40109
	 */
	public RenovateViolationDO() {

	}



	public RenovateViolationDO(Long keyword) {
		super(keyword);
	}



	public Set<ReformDO> getReforms() {
		return reforms;
	}

	public void setReforms(Set<ReformDO> reforms) {
		this.reforms = reforms;
	}


	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

}
